package com.baseproject.ndk;

import android.os.Environment;

import java.io.File;

/**
 * Created by hp on 2017/8/3.
 */

public class BsPatch {

    public static final String PATCH_PATH = Environment.getExternalStorageDirectory().getPath() + File.separator
            + "monthly" + File.separator + "apk.patch";
    public static final String NEW_APK_PATH = Environment.getExternalStorageDirectory().getPath() + File.separator
            + "monthly" + File.separator + "new.apk";


    static {
        System.loadLibrary("com_ycsd_monthly_BsPatch");
    }

    public static native int applyBsPatch(String oldPath, String newPath, String patchPath);

}
